﻿using DongFangGuoKai.WMSPlatform.Core;
using DongFangGuoKai.WMSPlatform.Domain.Models;

namespace DongFangGuoKai.WMSPlatform.Service.BasicApp.Station
{
    public class StationService : IStationService
    {
        public StationService(Repository<t_Station> stationRepo)
        {
            StationRepo = stationRepo;
        }
        public Repository<t_Station> StationRepo { get; }


        public t_Station GetStationBySid(int id)
        {
            return StationRepo.GetFirst(x => x.WhId == id);
        }




    }
}
